<extend name="./Public/main" />
<block name="main">
<div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <a href="javascript:;" onclick="addShow(0)"><h5><i class="glyphicon glyphicon-plus" aria-hidden="true"></i>添加轮播</h5></a>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped">
                                <thead>
                                    <tr>

                                        <th></th>
                                        <th>姓名</th>
                                        <th>电话</th>
                                        <th>内容</th>
                                        <th>时间</th>
                                        <th>状态</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                   <volist name="list" id="vo">
                                    <tr>
                                        <td>
                                            <div class="icheckbox_square-green checked" style="position: relative;"><input type="checkbox" checked="" class="i-checks" name="input[]" style="position: absolute; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: rgb(255, 255, 255); border: 0px; opacity: 0;"></ins></div>
                                        </td>
                                        <td><img src="{$vo.pic}" width="150px" height="80px" alt=""></td>
                                        <td>{$vo['name']}</td>
                                        <td>{$vo['phone']}</td>
                                        <td>{$vo['content']}</td>
                                        <td>
                                          <if condition="$vo['status'] eq '1'">
                                           未读
                                           <else />
                                          已读
                                          </if>
                                        </td>
                                        <td>
                                          <if condition="$vo['status'] eq '1'">
                                            <a href="{:U('Message/edit',array('message_id'=>$vo['message_id']))}"  title="修改" style="margin-right:10px"><i class="glyphicon glyphicon-edit"></i></a>
                                          </if>
                                        </td>
                                    </tr>
                                    </volist>
                                </tbody>
                            </table>
                             <div class="page1">
                                {$show}
                              </div>
                        </div>

                    </div>
                </div>
            </div>

        </div>

        


</block>